/*
 * Copyright (c) 2022  by Junzhao
 * THIS FILE IS PART OF JAVASE Song Huongkang PROJECT
 * All Rights Reserved.
 */

import java.util.Scanner;

public class JavaTest02 {
    public static void main(String[] args) {
        Scanner sc =new Scanner(System.in);
        System.out.println("请输入一个正整数");
        int a = sc.nextInt()*2;

        if (a<0){
            System.out.println("您的输入有误");
            return;
        }

        int n=0,res=a;
        while(res>0)
        {
            n++;
            res/=10;

        }
        int[] arr = new int[n];
        for (int i =0;i< arr.length;i++){
            arr[i] = a%10;
            a/= 10;
        }
        for (int i :arr){
            System.out.println(i);
        }
    }
}
